home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OK PC 47 - Disc 1
/
OK PC 47-1.zip
/
OK PC 47 - Duke Nukem 3D
/
OKPC47-1.iso
/
3dupinb
/
sierra.inf
< prev
Wrap
INI File
|
1995-09-15
|
7KB
|
262 lines
[Setup]
SetupSize=380
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=2.1.0.0
Colors=256
MemKB=7168
PhysicalMem=7168
SwapFile=7168
VideoSpeed=300
Wave=2
MIDI=2
CPU=486
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=0
Printer=0
CDROM=2
[Ident]
Version=100
ProductID=86883
[Dialogs]
BEGIN 0,NotifyInstallSystem
InstallSystem
1, NotifySysText
10, OKText
END
BEGIN 1,Register
Register
1, RegisterText1
12, YESText, (), FLAG8
13, NOText
END
BEGIN 2, Restart
Installation Complete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
BEGIN 3, Done
AllDone
1, AllDoneText
10, OKText
END
BEGIN 4, FailedWin32s
FailTitleWin32s
1, FailTextWin32s
1, FailTextWin32sShare
1, FailTextWin32sShare1
1, FailTextWin32sShare2
1, FailTextWin32sShare3
1, FailTextWin32sShare4
1, FailTextWin32sShare5
10, OKText
END
BEGIN 5, FailedWinG
FailTitleWinG
1, FailTextWinG
10, OKText
END
BEGIN 6, FailedVFW
FailTitleVFW
1, FailTextVFW
10, OKText
END
BEGIN 7, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
BEGIN 8, InstallType
InstallTypeTitle
1, InstallTypePrompt1
1, InstallTypePrompt2
1, InstallTypePrompt3
3, Small, (), FLAG11
3, Large, (), FLAG10
10, OKText
END
[Script]
:Begin
;
; FLAG usage:
; FLAG0 - TRUE if not running NT or Win95
; FLAG1 - TRUE if Video for Windows needs to be installed
; FLAG2 - TRUE if Video for Windows failed to install
; FLAG3 - TRUE if WinG needs to be installed
; FLAG4 - TRUE if WinG failed to install
; FLAG5 - TRUE if Win32s needs to be installed
; FLAG6 - TRUE if Win32s failed to install
; FLAG7 - TRUE if user does not have enough disk space
; FLAG8 - TRUE if user wants to register product
; FLAG9 - TRUE if user wants to restart computer
;
; FLAG10 - TRUE if user wants a Large install
; FLAG11 - TRUE if user wants a Small install
;
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
FLAG0 TOGGLEGROUPON 20
;
;
; Determine which system components will be installed
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG1
;
; Determine if there is enough space on system drive
FLAG3 WinDiskSpace_LT 500 FLAG7
FLAG7 goto NoWinSpace
FLAG1 WinDiskSpace_LT 1500 FLAG7
FLAG7 goto NoWinSpace
FLAG5 WinDiskSpace_LT 2000 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG1 WinDiskSpace_LT 2000 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG5 WinDiskSpace_LT 2500 FLAG7
FLAG7 goto NoWinSpace
FLAG5 FLAG1 WinDiskSpace_LT 3500 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG5 FLAG1 WinDiskSpace_LT 4000 FLAG7
FLAG7 goto NoWinSpace
;
;
; Notify player system stuff is going to be installed.
FLAG1 FLAG3 FLAG5 DIALOG NotifyInstallSystem
;
;
; Install Win32S via Microsoft Setup
;FLAG0 WIN32CHECK SILENT 1.30.152.0, ,FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 FLAG5 RUN 1 WIN32S\DISK1\MSSETUP.EXE *SOURCEDIR\WIN32S\DISK1\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG6
FLAG0 FLAG6 GOTO FailWin32s
;
;
; Install WinG via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 FLAG3 RUN 1 WING\MSSETUP.EXE *SOURCEDIR\WING\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG4
FLAG0 FLAG4 GOTO FailWinG
;
;
; Install Video for Windows via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG1
FLAG0 FLAG1 RUN 1 VFW11E\MSSETUP.EXE *SOURCEDIR\VFW11E\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\AVIFILE.DLL 1.10.0.179 FLAG2
FLAG0 FLAG2 GOTO FailVFW
;
;
; Get type of install (large or small)
DIALOG InstallType
FLAG10 TOGGLEGROUPON 10
;
;
; Pick destination directory.
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
;
; Setup default configuration for Ultra Pinball.
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPBDemo, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, UPBDemo, CDPath, *SOURCEDIR\UPINBALL
;FLAG10 ADDTOINI *DESTDIR\AUTORUN.INF, English, ProgramEXE, PINBALL.EXE
;
;
; Create "Sierra" group and add program icons
GOTO AddGroups
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle, ,*SIERRADIR
ADDPROGMANITEM *DESTDIR\AUTORUN.EXE, ProgManTitle, *DESTDIR\AUTORUN.EXE, *DESTDIR
ADDPROGMANITEM *DESTDIR\BOOTDISK.EXE -s1024 -c -w -rwin/n, BootDiskTitle, *DESTDIR\BOOTDISK.ICO, *DESTDIR
:AddGroups
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item1, [CreateGroup(Sierra)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item2, [ShowGroup(Sierra,2)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item3, [ShowGroup(Sierra,1)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item4, [ReplaceItem(Setup & Uninstall)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item5, [AddItem(*SIERRADIR\SETUP.EXE,Setup & Uninstall)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item6, [ReplaceItem(Ultra Pinball Demo)]
ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item7, [AddItem(*DESTDIR\AUTORUN.EXE,Ultra Pinball Demo)]
FLAG0 ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item8, [ReplaceItem(Ultra Pinball Demo Boot Disk Maker)]
FLAG0 ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item9, [AddItem(*DESTDIR\BOOTDISK.EXE -s1024 -c -w -rwin/n,Ultra Pinball Demo Boot Disk Maker,*DESTDIR\BOOTDISK.ICO)]
RUN 1 *SOURCEDIR\AUTORUN.EXE *SOURCEDIR\AUTORUN.EXE &*DESTDIR\AUTORUN.INF
;
;
; Does User want to register?
;
;DIALOG Register
;FLAG8 REGISTER
;
;
; If any system files were installed, user MUST restart their system.
FLAG1 GOTO AskRestart
FLAG3 GOTO AskRestart
FLAG5 GOTO AskRestart
GOTO End
;
;
; Prompt user that their system needs to be restarted.
:AskRestart
DIALOG Restart
FLAG9 RESTARTWINDOWS
;
;
; If user did not restart, remind them again.
DIALOG Done
GOTO End
;
;
; Display Win32s failed to install
:FailWin32s
DIALOG FailedWin32s
GOTO End
;
;
; Display WinG failed to install
:FailWinG
DIALOG FailedWinG
GOTO End
;
;
; Display Video for Windows failed to install
:FailVFW
DIALOG FailedVFW
GOTO End
;
;
; Display Not Enough space in Windows directory
:
:NoWinSpace
DIALOG FailedWinSpace
GOTO End
;
;
:End
END
[Archives]
UPINBALL\,1,0,0
[Files]
;
; Ultra Pinball Files
;
*DESTDIR\AUTORUN.INF,NOARCHIVE,1,726,1
*DESTDIR\AUTORUN.EXE,NOARCHIVE,1,48128,1
*DESTDIR\BOOTDISK.EXE,NOARCHIVE,1,36848,0,20
*DESTDIR\BOOTDISK.ICO,NOARCHIVE,1,766,0,20
*DESTDIR\RESOURCE.002,UPINBALL\,1,3986769,0,10